package com.hsource.doctorcenter.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(name="hsource-user",path = "hsource-user")
public interface UserFeignClient {
    /**
     * 配置需要调用的微服务接口
     */
    @PostMapping(value="/userInfo")
    Object getUserInfo(@RequestBody String userId);
}
